import Vue from 'vue'
import App from './App.vue'
import 'echarts'
import ECharts from 'vue-echarts'
import 'vue-context/dist/css/vue-context.css';
import VueDragResizeRotate from "@gausszhou/vue-drag-resize-rotate"
import request from "./utils/request";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from "./router";
//引入svg
import './icons'
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
import './socket/index'


Vue.use(mavonEditor)
Vue.use(request)
Vue.config.productionTip = false
Vue.component('Dragger', VueDragResizeRotate)
Vue.component('ECharts',ECharts)
Vue.use(ElementUI,{size:"small"});
Vue.prototype.request=request

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
